<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Carson</title>
    <script type="text/javascript">
         function turnOn() {
            android.setStatus("On");
         }
         function turnOff() {
            android.setStatus("Off");
         }
         function getStatus(){
            var status = "";
            status = android.getStatus();
            android.print("Status:"+status);
         }
         function closeWin(){
            android.closeWin();
         }

    </script>
</head>
<body>
<h1>地址是空，进入测试地址</h1>
<br/><br/>
<button onClick="turnOn()">开灯</button>
<br/><br/>
<button onClick="turnOff()">关灯</button>
<br/><br/>
<button onClick="getStatus()">点击查看状态</button>
<br/><br/>
<button onClick="closeWin()">关闭</button>
</body>
</html>
